package cn.ccenjie.wsy.social.github.config;

import cn.ccenjie.wsy.social.SocialAutoConfigurerAdapter;
import cn.ccenjie.wsy.social.github.connet.GithubConnnectionFactory;
import org.springframework.context.annotation.Configuration;
import org.springframework.social.connect.ConnectionFactory;

@Configuration
public class GithubConfig extends SocialAutoConfigurerAdapter {

    @Override
    protected ConnectionFactory<?> createConnectionFactory() {
        return new GithubConnnectionFactory();
    }
}
